// GENERAL
.player-home-row .card-pile.horizontal {
    margin-bottom: auto;
    margin-top: auto;
}

.player-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.btn-stat {
    padding: 0;
    font-size: 12px;
    line-height: 18px;
    height: 22px;
    width: 22px;
    background-color: transparent;
}

.btn-stat:hover {
    background-color: @brand-info;
    border-color: @brand-info;
}

.btn-stat:focus {
    outline: 0px;
}

.deck-info {
    display: flex;
    flex-direction: column;
}

.player-info.our-side .deck-info {
    justify-content: flex-end;
}

.deck-type {
    display: flex;
    flex-direction: row;
    height: 100px;
}

.middle {
    display: flex;
    flex-direction: row;
    flex: 1;
}

.middle-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.targeting-arrow {
    margin: 5px;
}

.target-card-image {
    max-height: @card-height;
    object-fit: contain;
    width: 100%;
}

span.up-arrow {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;

    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    border-bottom: 8px solid @brand-primary;
    left: 90px;

    top: -9px;
}

span.down-arrow {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;

    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    border-top: 8px solid @brand-primary;
    left: 90px;

    top: -9px;
}

// CENTER
.center {
    flex-direction: column;
    display: flex;
}

.deck-cards {
    display: flex;
}

//RIGHT SIDE

.close {
    color: @foreground-color;

    :hover {
        color: @brand-info;
    }
}

.modal-title {
    text-align: center;
}

.message {
    .alert {
        padding: 5px;
        margin-bottom: 0;
    }

    .alert-danger {
        .username {
            color: darken(@brand-danger, 20%);
        }
    }

    .alert-info {
        .username {
            color: darken(@brand-info, 20%);
        }
    }

    .alert-success {
        .username {
            color: darken(@brand-success, 20%);
        }
    }

    .alert-warning {
        .username {
            color: darken(@brand-warning, 20%);
        }
    }
}

.gamechat-enter {
    top: 1500px;
}

.gamechat-enter.gamechat-enter-active {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    transition: top 500ms ease-in-out;
}

.gamechat-leave {
    top: 0px;
}

.gamechat-leave.gamechat-leave-active {
    position: absolute;
    right: 0;
    width: 100%;
    top: 1500px;
    transition: top 500ms ease-in-out;
}

hr.phasestart {
    margin-top: 15px;
}

.phasestart {
    font-size: 15px;
    text-transform: capitalize;
}

.option-button {
    margin-top: 10px;
}
